package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Role;
import com.itheima.health.pojo.User;

import java.util.List;

public interface RoleService {
    Role findById(Integer id);

    List<Role> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    boolean add(Role role, Integer[] pIds);

    boolean update(Role role, Integer[] pIds);

    boolean deleteById(Integer id);
}
